import uniqueId from "../../uniqueId.ts";

const type = 'Layer-Page';
const name = '页面';

export default {
    icon: '&#xe6c4;',
    name,
    type,
    EmptyType: 'PageEmpty',
    Tools: {
        Delete: false,
        Copy: false,
        Hide: false,
    },
    DragType: 'OnlyIn',
    rule: function () {
        return {
            type,
            field: uniqueId(),
            title: name,
            props: {},
            events: {},
            slots: { default: [], },
        }
    },
    props() {
        return []
    },
};